package com.demo.service;

import com.demo.beans.ReturnData;
import com.demo.beans.User;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UserService {
    public ReturnData userRegister(User user, HttpServletRequest request) throws Exception;
    public ReturnData userLogin(Map<String,String> params) throws Exception;
    public ReturnData userList(User user);
    public ReturnData updateUserState(User user);
}
